package com.mh.mapper;

import com.mh.entity.Course;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

public interface CourseMapper {
    //查询所有课程
    List<Course> findAll();

    //插入数据
    void save(Course course);
}
